<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title></title>
<link rel="stylesheet" type="text/css" href="/misc/css/base.css"  />
<link rel="stylesheet" type="text/css" href="/misc/css/btnicon.css"  />
<link rel="stylesheet" type="text/css" href="/misc/css/reset_admin.css"  />
<link rel="stylesheet" type="text/css" href="/misc/css/adminmenu.css"  />
<link rel="stylesheet" type="text/css" href="/misc/css/newadmin.css"  />
<script type="text/javascript" src="/misc/vendors/jquery/jquery_1.2.6.js"></script>
<script type="text/javascript" src="/misc/vendors/o2js/o2js.js"></script>
<script type="text/javascript" src="/misc/vendors/o2js/o2js_build.js"></script>
<script type="text/javascript" >
var baseUrl = "<?=$themeUrl?>";
$().ready(function(){
 
});
var grids;
</script>
</head>
<body style="background-color:#fcfcfc"> 
<script type="text/javascript">
 
$().ready(function(){  
	o2js.build('jquery_cluetip');
	showLoading();   

	$('a.showinfo').cluetip({
		cluetipClass: 'jtip', 
		sticky: true,
		arrows: true, 
		dropShadow: false,
		closePosition: 'title',
		mouseOutClose: true,
		width:250,
		height:400
	}).each(function(){
		$(this).click(function(e){
			stopDefault(e);
		});
	});

});
</script>
<div style="margin:10px;">
	<div class="blockdiv">
		<div class="titlediv">配送分支信息</div>
		<table class="mytable" > 
			<tr>
				<td class="mylabel"> 分支标识：</td>
				<td class="myinfo" > 
					{$rs.name}
				</td> 
				<td class="mylabel">创建日期： </td>
				<td class="myinfo" > 
					{$rs.created}
				</td> 
			</tr> 
			<tr>
				<td class="mylabel"> 配送会员人数：</td>
				<td class="myinfo" > 
					{$rs.users}
				</td>
				<td class="mylabel"> 配送包装种类数：</td>
				<td class="myinfo" > 
					{$rs.packetnum}
				</td>
			</tr>	
		</table> 
	</div>
</div>
<style type="text/css">
table.packettb{
border-collapse:collapse;
width:100%;
}
table.packettb td{
border:1px solid #E8E8E8;
}
table.packettb tbody td.title{
color:#FF6600;
font-size:18px;
font-weight:bold;
padding:10px;
text-align:center;
}
table.packettb tbody td.info{
color:#666666;
font-size:14px;
padding:10px;

}
table.packettb thead th{
padding:7px;
background:#E9F7DF;
color:#666666;
border:1px solid #E8E8E8;
text-align:center;
}


</style>
<div style="margin:10px;">
	<div class="blockdiv">
		<div class="titlediv">配送包装种类（共 {count($rs_packet)} 种）</div>
		<table class="packettb">
			<thead>
				<tr>
					<th style="width:30px;">
						序号
					</th>
					<th>
						包装菜品
					</th>
					<th style="width:80px;">
						配送会员
					</th>
				</tr>
			</thead>
			<tbody>
			<?PHP
			foreach($rs_packet as $k=>$v){
			
				echo '
				<tr>
					<td class="title">'.($k+1).'</td>
					<td class="info">'.$v['veges_html'].'</td>
					<td class="info">
						<a href="/admin_sendpi/lookpacket_users?sendfen_id='.$rs['id'].'&packet='.$v['packet'].'"  rel="/admin_sendpi/lookpacket_users?sendfen_id='.$rs['id'].'&packet='.$v['packet'].'" class="showinfo" >'.$v['usernum'].'名会员</a>
					</td>
				</tr>
				';
			}
			?>
			</tbody>
		</table>
	</div>
</div>

</body>
</html>